Goto

Collaborating Authors

 front end


One Policy, Four Interception Points: Differential Testing of Agent Governance

arXiv.org Artificial Intelligence

Governance layers for AI agents decide, before an agent's action runs, whether it may run, and record why. They can sit at four interception points: inside the agent's process (through a software development kit, SDK), in front of a Model Context Protocol (MCP) server, on the network path (egress proxy), or in a coding agent's pre-tool hook. Operators expect one policy to mean the same thing at all four. We test this on one system, Oathpost, whose four interception points call one policy decision point (PDP) that cross-checks two policy engines. We replay its test cases and 1,360 generated cases through all four, and measure how well its tests detect faults, using 30 injected front-end fault runs, 149 mutants of front-end code and 350 mutants of the engines. Wherever an interception point could carry a case, its decision, rule verdicts and audit record equalled the SDK path's (1,865 comparisons per run), except for one defect that the generated cases found: for an integer argument of magnitude 2^53 or more, the hook bridge never consulted the PDP, so the call was refused with no decision record in fail-closed sessions and, in fail-open sessions, was not stopped but only counted as an evidence gap. As the test adapters drive them, 77% of drivable cases cannot be carried by the hook mode, and 878 of the 1,195 for MCP reflect adapter configuration, not the gateway. The tests flagged all 2,660 applicable case-fault pairs, but 97 of 217 dropped-argument faults only by comparing the recorded request, not the decision. Of the engine mutants that loaded, the two engines disagreed on some case for 66% and 25% survived every case. Median decision latency was 39.5 ms (SDK), 43.9 (hook), 54.7 (egress) and 91.8 (MCP), measured on one laptop.


An Edge-Computing Reference Architecture for Real-Time Structural Health Monitoring: Design and Validation on Three In-Service Bridges

arXiv.org Artificial Intelligence

Structural health monitoring of bridge inventories is limited less by sensors or detection algorithms than by the computing architecture that turns continuous vibration streams into operational information. Centralized designs stream raw waveforms to a server, add tens of seconds of delay, scale poorly in cost, and stop working during the network disruptions that accompany the events they are meant to observe. This paper presents a reference architecture that moves anomaly detection to an edge node at the structure and transmits only compact health summaries and anomaly events. The edge tier combines a structure-specific spectrogram front end with a reconstruction-error detector trained on reference-condition windows only and a threshold calibrated per structure. The design is validated on openly licensed data from three in-service bridges of three structural forms: a steel bowstring railway bridge with a documented connection deficiency and retrofit (KW51, Leuven), a riveted steel bascule railway bridge with a verified fracture (Vanersborg, Sweden), and a prestressed concrete box-girder viaduct in normal operation across a 7-26 C temperature range (Chillon, Switzerland). The deployed detector, principal component analysis of the spectrogram, separates the pre- and post-retrofit condition of KW51 with AUC 0.925 at 98.89% specificity, holds 99.44% specificity on Chillon through the temperature range, and does not separate the pre- and post-fracture openings of Vanersborg (AUC 0.620), bounding what a generic spectrogram detector sees of a local fracture. A 34.3M-parameter masked-autoencoding Vision Transformer under the same protocol reaches AUC 0.905 on KW51 and does not exceed the linear detector. In a 4-vCPU, 4 GB container emulating the edge node, the pipeline decides in 59.0 ms mean (284.1 ms for the Transformer). Every number is regenerated from public data by the released code.


PhysioWave-T: Token-Efficient Wavelet Foundation Models for Biosignals

arXiv.org Artificial Intelligence

We present PhysioWave-T, a token-efficient wavelet foundation model family for EEG, ECG, and sEMG. Dynamic scale folding recombines $J+1$ wavelet subbands before tokenization, reducing the sequence from $(J+1)CS$ to $CS$ tokens for $J$ decomposition levels, $C$ channels, and $S$ temporal patches. Route-specific front ends and learned channel-name embeddings allow one Transformer per modality to handle diverse montages and sampling rates. Unseen configurations reuse the pre-trained backbone through a lightweight front end. We pre-train a 30M-parameter EEG model on over 15M windows spanning 19 to 128 channels, alongside ECG (30M) and sEMG (12M) encoders. Across four EEG routes, scale folding cuts Transformer latency by 4.0--7.2x and peak memory by 6.8--12.7x relative to scale expansion without accuracy loss. Our EEG encoder leads on eight of nine metrics against BENDR, BIOT, LaBraM, and EEGPT and surpasses LUNA-L on wearable seizure detection with fewer parameters. Reliability-aware latent fusion (RALF) combines summary tokens from the independently pre-trained encoders using per-sample reliability weights. On SeizeIT2, event sensitivity at 11 false alarms/h is 61.4% for EEG alone, 74.4% for RALF, and 78.9% for weighted-logit fusion. RALF raises window-level AUPRC from 0.321 (EEG alone) to 0.399. All six RALF training variants outperform weighted-logit and concatenation fusion on this metric. PhysioWave-T also achieves state-of-the-art sEMG accuracies and the highest macro-F1 on PTB-XL Super and Chapman-Shaoxing. Code and models are available at https://github.com/ForeverBlue816/PhysioWave.


Towards Pose-Robust Few-Shot Vision-Language-Action Models

arXiv.org Artificial Intelligence

Fine-tuning a vision-language-action (VLA) model on a few dozen demonstrations is the standard way to put a manipulation policy on a robot, yet the resulting policy silently assumes that the camera and the robot base stay exactly where they were during data collection: a bumped tripod or a base re-docked a few centimetres away makes it reach for the wrong place. We show that both failures are one phenomenon, a change of the camera-to-base extrinsic that the policy has memorised, and that the robot carries everything needed to undo it. We introduce WACO, a world-anchored canonicalization framework for VLA models: the arm, placed by forward kinematics at the measured joint angles, serves as a metric calibration target, and the static scene serves as the world anchor that tells a moved camera from a moved robot. From a single RGB-D frame, WACO estimates both shifts without ground-truth extrinsics or extra data, canonicalises the image to the calibration viewpoint and the state, action and start pose to the calibration base frame, and fine-tunes the unmodified policy under the artefacts of its own estimator. We also introduce LIBERO-PoseShift, the first benchmark for RGB VLAs with graded camera, base and compound shifts. Across LIBERO-PoseShift, the LIBERO-Plus camera track and four real-world tasks on a UR5e robot, WACO consistently outperforms the standard few-shot recipe and prior viewpoint-robust methods, raising shifted success by 13.2 points in simulation and by 36.7 points on the real robot, recovering 90% of the simulation gap to a ground-truth oracle and 87% of the real-robot gap, and establishing a new state of the art among methods that use no perturbed training data, with no test-time calibration. Project page: https://peacelwh.github.io/WACO/.


Wrong Input, Wrong Threshold: Re-evaluating Adversarial Facial Privacy

arXiv.org Artificial Intelligence

Published face-privacy methods report protection above 90% against black-box recognition models. That number comes from an evaluation protocol with two independent defects, reported in a measure that cannot size either one. The input is wrong: methods published since 2022 feed the network the whole photograph, or a detector's box, where deployed systems detect, align to a landmark template and crop. Re-scoring the same files through a realistic front end costs a standard transfer attack 56% of its dodging protection and a budget-allocating attack 7%, with no image regenerated. The measure is wrong: that loss is a difference of success rates, so it saturates, moving by 8.2x over a budget sweep while the effect beneath it moves by 1.34x. We therefore report the paired cosine shift, in which both thresholds cancel algebraically, so the input defect holds without committing to a calibration. Measured that way it is 2.2x and 10.7x larger on three unseen recognizers, and at matched budget it reverses the L-infinity transfer ranking: the one surveyed method that aligns at evaluation gains 0.18 where MI-FGSM loses 0.05. The cause is a resampling mismatch, not perturbation lost outside the crop; optimising through a differentiable alignment operator largely removes it, adding +24 to +58 points on unseen recognizers and a commercial system, with a residual on one of them. The thresholds are wrong: the four constants inherited since 2021 hold the false-accept rate near its nominal 1% on aligned crops but admit 2.3-5.4% on whole images, with an opposite-signed bias across dodging and impersonation, the two tasks reported side by side. Differentiable alignment and gallery scoring are not new: the first generation of this literature used both, and we show what dropping them cost.


Perception into Imagination: Executable Memory for World Models

arXiv.org Artificial Intelligence

Physical agents must use what they previously saw or touched after visibility or contact is lost. Their actions change the implications of these remembered facts. We introduce executable perceptual memory (EPM), a world-model framework that advances explicit perceptual state alongside neural latent dynamics during imagination. Its evolving read-out informs reward prediction, value estimation and policy learning. We align reward inputs with the transitions that produced them and supervise the reward head on open-loop rollouts of recorded actions. On Memory Maze $13\times13$, EPM reaches 30.37 return at 1M interactions, compared with 23.37 when the same evolving read-out informs only policy and value on a common perceptual front end: a gain of 7.00 [3.80, 10.21]. The complete method also improves control on $9\times9$ and in MiniWorld. Probes of remembered, out-of-view arrivals show stronger reward anticipation in both visual implementations. Concentration, tactile recovery and real tactile frames demonstrate complementary roles of remembered facts in imagined-policy training, motion-dependent decisions and sensory-content retention. EPM connects persistent perception to the predicted consequences and learning signals of a world model for Physical AI.


Streaming Speech Recognition on a Microcontroller: a 65.7M-Parameter Transducer in 2 and 4 Bits on the ESP32-P4

arXiv.org Artificial Intelligence

We run Kroko, a 65.7M-parameter streaming Zipformer2 transducer for English, on the ESP32-P4, a microcontroller with two 400 MHz RISC-V cores, a 128-bit SIMD extension (PIE) and 32 MB of PSRAM, but no neural accelerator. Without any training, the encoder's 290 matrices are stored with 2 or 4 bits per weight in Hadamard-rotated groups: the width of each matrix comes from its measured sensitivity, and each matrix is first corrected toward the original model's output, then rounded with GPTQ and a search over the group norms. The released 71 MB of int8 weights become a 26.65 MB file. Activations are int16 between the matrix products and int8 into them. A C engine with hand-written PIE kernels processes each 1.28 s chunk of audio in 0.90 s on both cores, beam search included, and its PC build computes the same bits as the chip, so accuracy is measured on whole test sets. LibriSpeech WER is 4.34% on test-clean and 10.26% on test-other, against 3.94% and 9.17% for the released model; on FLEURS and Common Voice the gap grows to 2.3 and 1.1 points. A GPU simulator shows that the integer arithmetic costs nothing and that the whole gap comes from the weights, and an ablation on all of test-clean shows that GPTQ does most of the work. We also report the port's speed history, from 51.3 s to 0.62 s of encoder time per chunk, each design step measured again in one build, an attempt to reach 16 MB that stopped at 19.63 MB, and what did not work. We did not measure energy. The inference engine, the firmware and the 2/4-bit weights are available at https://github.com/BoumedineBillal/esp32-pie-asr.


SENTRY: A Streaming Edge Network Trust Engine for Real-Time Audio Deepfake Detection

arXiv.org Artificial Intelligence

Real-time voice cloning has enabled large-scale streaming deepfake and vishing attacks, while existing Network Detection and Response (NDR) solutions rely on GPU-based post-processing that requires buffered audio and generalizes poorly to unseen speech synthesis models. This paper presents SENTRY, a hardware-oriented, streaming trust engine for inline deepfake detection at the network edge. SENTRY employs an integer lifting-wavelet front end together with a bank of multiplier-free transforms, including wavelet-packet envelopes, Walsh-Hadamard sequency profiles, waveform micro-statistics, and long-term spectral features, designed so that acoustic analysis needs only integer add, shift, compare and bitwise operations. A supervised gradient-boosted tree classifier is combined with an unsupervised Mahalanobis out-of-distribution detector trained solely on authentic speech, and their outputs are fused by a lightweight logistic layer to produce graduated LOG, CHALLENGE, or DROP actions. Under a closed-set protocol, SENTRY reaches 98.75% accuracy at a 1.25% equal-error rate (EER) on WaveFake, with perfect separation of HiFi-GAN and WaveGlow; its supervised track alone achieves an AUC of 0.9994 (fused: 0.9993). On ASVspoof 2019 LA (attacks A01-A06) over an 8 kHz mu-law telephony channel, it reaches 94.75% accuracy at a 5.05% EER, with a supervised-track AUC of 0.9948 (fused: 0.9884) and per-attack EERs below 7%. In our prototype, the feature front end runs as bit-exact integer code on one Arm Cortex-A53 core, and the classifier and fusion stage are synthesized for a Xilinx Zynq UltraScale+ MPSoC using no DSP slices, returning a decision 220 ns after a feature vector is ready. These results indicate that deepfake screening can be placed inline without GPUs or floating-point hardware; generalization to unseen generators is left to future work.


Direct Translation between Sign Languages

arXiv.org Artificial Intelligence

Sign language translation has made substantial progress between sign and spoken languages, while translation across sign languages remains less explored. Translating directly between sign languages could support communication across signing communities without requiring a shared written language. A cascade of sign-to-text, spoken-language translation, and text-to-sign models offers one route, but can propagate intermediate errors and requires three sequential translation stages. We develop direct sign-to-sign translation, whose training is limited by the scarcity of parallel signing across languages. To address this obstacle, we adapt back-translation to construct cross-lingual pairs from existing text-sign corpora: the source signing is synthesized through a text bridge, while the target remains the gold sign from the original corpus. Using these pairs, we jointly train a single Qwen3-based model for text-to-sign and sign-to-sign translation. The latter generates target signing directly from source signing without an intermediate transcript. Experiments cover six directions among American, Chinese, and German Sign Language, using back-translation pairs and existing cross-lingual sign pairs. On synthetic sources, direct translation improves BLEU-4 in five directions and lowers overall motion error relative to the cascade. On existing test pairs, it improves BLEU-4 over the cascade by 1.91-3.87 points across all six directions.


When LLM Decompilers Recompile More and Preserve Less

arXiv.org Artificial Intelligence

Decompilation recovers high-level source from compiled machine code and serves as a foundation for security tasks such as vulnerability detection and malware analysis. Traditional decompilers like Ghidra and Hex-Rays expose whatever they cannot resolve as visible placeholders and often emit pseudocode that will not compile or execute; LLM-based decompilers produce clean, idiomatic C and are now judged almost entirely by recompilability and re-executability: whether the output builds and passes its shipped input/output tests. We show that these metrics can reward the wrong path: a function may recompile and pass every shipped test yet diverge on other legitimate inputs, and a disclosed vulnerability may disappear from the recompiled code with no visible trace of the crash. Neither failure is caught by existing suites. To address this gap, we propose Decompile-Diverge, a behavioral comparison oracle not relying on fixed or hand-crafted tests: for each function it synthesizes a driver, grows a fuzzing corpus from the reference, and reruns the decompiled code on the same inputs to detect changes in the function's behavior. Across eight systems in nine configurations on established LLM decompilation corpora, candidates that pass every shipped test still diverge from the original on our input corpus: 4.9% overall, and as many as 13% for a single system. On 300 real GitHub library functions and 287 CVE-grounded functions, recompilability and behavioral agreement can come apart: the strongest refinement LLM lifts Ghidra's build rate from 75% to 90%, while its Matched rate falls from 74% to 62%; on disclosed vulnerabilities, up to one tenth exhibit Crash Absence in its output. Source-level analysis traces this divergence to introduced fields, types, callees, and guards that replace the visible unknowns traditional tools leave behind.